//
//  SuccessAlert.swift
//  ZNHXManagement
//
//  Created by 四川中农 on 2018/9/28.
//  Copyright © 2018年 四川中农. All rights reserved.
//

import UIKit

class SuccessAlert: UIView {
    
    var closeClosure:TouchBlock!
    @IBOutlet weak var button: UIButton!

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */
    
    
    @IBAction func closuMethod(_ sender: UIButton) {
        if self.closeClosure != nil {
            self.closeClosure()
        }
    }
    

}
